package com.zzw.algorithm.treenode;

public class TreeNode {

     TreeNode parent;
     TreeNode left;
     TreeNode right;
     TreeNode prev;  
     private Integer val;
     

	public Integer getVal() {
		return val;
	}

	public void setVal(Integer val) {
		this.val = val;
	}

	public TreeNode(){
    	 
     }  
        
     public TreeNode(Integer val,TreeNode left,TreeNode right){  
         this.val = val;
         this.right = right;
         this.left = left;
     }  

}
